package com.ss.android.article.base.ui;

import android.widget.AbsListView;
import android.widget.AbsListView;

final class o implements AbsListView.OnScrollListener {
    private final DragDismissListView a;

    o(DragDismissListView arg1) {
        this.a = arg1;

    }

    public final void onScroll(AbsListView arg1, int arg2, int arg3, int arg4) {
    }

    public final void onScrollStateChanged(AbsListView arg5, int arg6) {
        int v0 = 0;
        if(!this.a.a && arg6 == 0) {
            DragDismissListView v2 = this.a;
            if(v2.getFirstVisiblePosition() == 0 && v2.getChildAt(0).getTop() == 0) {
                v0 = 1;
            }

            if(v0 == 0) {
                return;
            }

            this.a.a = true;
        }
    }
}

